<div class="footer">
    <p>
        <a href="<?php echo url('app=member&act=login&ret_url=' . $this->_var['ret_url']. ''); ?>">登录</a>|
        <a href="<?php echo url('app=member&act=register&ret_url=' . $this->_var['ret_url']. ''); ?>">注册</a>|
        <a href="<?php echo url('app=default'); ?>">商城首页</a>
        <a class="to-top iconfont">&#xf012c;</a>
    </p>
    <!--<p>版权所有 <?php echo $this->_var['icp_number']; ?></p>-->
</div>
<div class="alert_text"></div>
<script>
    $(function(){

        $(".to-top").click(function(){
            $("html,body").animate({"scrollTop":"0"},800);
        })
    })
</script>
<?php if ($this->_var['store']['kmenus']['status'] == 0 || $this->_var['store']['kmenus']['status'] == ''): ?>
<link type="text/css" rel="stylesheet" href="<?php echo $this->res_base . "/" . 'css/kmenus.css'; ?>">
<div class="flo_btn_<?php if ($this->_var['store']['kmenus']['stypeinfo'] == ''): ?>1<?php else: ?><?php echo $this->_var['store']['kmenus']['stypeinfo']; ?><?php endif; ?>">
    <ul>
        <?php $_from = $this->_var['store']['kmenusinfo']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'info');if (count($_from)):
    foreach ($_from AS $this->_var['info']):
?>
        <li>
            <a style="background-color:#<?php echo $this->_var['info']['color']; ?>;" href="<?php if ($this->_var['info']['title'] == $this->_var['lang']['navigation']): ?>http://map.baidu.com/?newmap=1&ie=utf-8&s=s%26wd%3D<?php echo $this->_var['info']['loadurl']; ?><?php else: ?><?php echo $this->_var['info']['loadurl']; ?><?php endif; ?>"><span style="background:url('<?php echo $this->_var['info']['imgurl']; ?>') scroll no-repeat center center transparent;background-size:60%; bottom:0; left:0;"></span></a>
        </li>
        <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
    </ul>
</div>
<?php endif; ?>

<div id="classifyPanel">
    <div class="sub_menu">
        <p class="shop_name"><?php echo htmlspecialchars($this->_var['store']['store_name']); ?></p>
        <ul>
            <?php $_from = $this->_var['store']['store_gcates']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'gcategory');if (count($_from)):
    foreach ($_from AS $this->_var['gcategory']):
?>
            <a href="<?php echo url('app=store&id=' . $this->_var['store']['store_id']. '&act=search&cate_id=' . $this->_var['gcategory']['id']. ''); ?>">
                <li>
                    <em></em><span><?php echo htmlspecialchars($this->_var['gcategory']['value']); ?></span>
                </li>
            </a>
            <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
        </ul>
        <div class="classify_arrow"></div>
    </div>
    <div class="mask_area"></div>
</div>
<div id="footer_nav">
    <ul>
        <li class="menu">
            <a href="javascript:void(0)"><span class="iconfont">&#xf00a6;</span><br/>店铺分类</a>
        </li>
        <li>
            <a href="<?php echo url('app=store&id=' . $this->_var['store']['store_id']. ''); ?>"><span class="iconfont">&#xf00a0;</span><br/>店铺首页</a>
        </li>
        <li>
            <a href="tel:<?php echo $this->_var['store']['tel']; ?>"><span class="iconfont">&#xf012b;</span><br/>卖家电话</a>
        </li>
        <li>
            <a href="<?php echo url('app=cart'); ?>"><span class="iconfont">&#xf009f;</span><br/>购物车</a>
        </li>
        <li>
            <a href="<?php echo url('app=member'); ?>"><span class="iconfont">&#xf00a2;</span><br/>我的商城</a>
        </li>
    </ul>
</div>
<?php echo $this->_var['async_sendmail']; ?>
</body>
</html>